﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domain.Core;
using Domain.MainModule.Entities;
using Domain.Core.Specification;

namespace Domain.MainModule.Customers
{
    public interface ICustomerRepository
        : ICustomRepository<Customer, User>
    {
        Customer FindCustomer(ISpecification<Customer> specification);
        
        IEnumerable<Customer> GetPagedCustomers(int pageIndex, int pageCount);
    }
}
